<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>弹窗</title>
</head>
<body>
    
</body>
<script>
    // window.alert('1111');
    // alert(222);
    var val = prompt('输入你的名字','睦杰');
    if(val == '睦杰'){
        alert('睦杰就是个沙雕！');
    }else{
        if(val == '睦杰1'){
            alert('吔屎啦你！');
        }else{
            alert('正常人！');
        }
    }
</script>
</html>